package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class YgSupplierReconciliationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YgSupplierReconciliationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIsNull() {
            addCriterion("supplier_id is null");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIsNotNull() {
            addCriterion("supplier_id is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierIdEqualTo(Long value) {
            addCriterion("supplier_id =", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotEqualTo(Long value) {
            addCriterion("supplier_id <>", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdGreaterThan(Long value) {
            addCriterion("supplier_id >", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdGreaterThanOrEqualTo(Long value) {
            addCriterion("supplier_id >=", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdLessThan(Long value) {
            addCriterion("supplier_id <", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdLessThanOrEqualTo(Long value) {
            addCriterion("supplier_id <=", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIn(List<Long> values) {
            addCriterion("supplier_id in", values, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotIn(List<Long> values) {
            addCriterion("supplier_id not in", values, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdBetween(Long value1, Long value2) {
            addCriterion("supplier_id between", value1, value2, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotBetween(Long value1, Long value2) {
            addCriterion("supplier_id not between", value1, value2, "supplierId");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeIsNull() {
            addCriterion("reconciliation_code is null");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeIsNotNull() {
            addCriterion("reconciliation_code is not null");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeEqualTo(String value) {
            addCriterion("reconciliation_code =", value, "reconciliationCode");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeNotEqualTo(String value) {
            addCriterion("reconciliation_code <>", value, "reconciliationCode");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeGreaterThan(String value) {
            addCriterion("reconciliation_code >", value, "reconciliationCode");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeGreaterThanOrEqualTo(String value) {
            addCriterion("reconciliation_code >=", value, "reconciliationCode");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeLessThan(String value) {
            addCriterion("reconciliation_code <", value, "reconciliationCode");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeLessThanOrEqualTo(String value) {
            addCriterion("reconciliation_code <=", value, "reconciliationCode");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeLike(String value) {
            addCriterion("reconciliation_code like", value, "reconciliationCode");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeNotLike(String value) {
            addCriterion("reconciliation_code not like", value, "reconciliationCode");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeIn(List<String> values) {
            addCriterion("reconciliation_code in", values, "reconciliationCode");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeNotIn(List<String> values) {
            addCriterion("reconciliation_code not in", values, "reconciliationCode");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeBetween(String value1, String value2) {
            addCriterion("reconciliation_code between", value1, value2, "reconciliationCode");
            return (Criteria) this;
        }

        public Criteria andReconciliationCodeNotBetween(String value1, String value2) {
            addCriterion("reconciliation_code not between", value1, value2, "reconciliationCode");
            return (Criteria) this;
        }

        public Criteria andReconciliationPriceIsNull() {
            addCriterion("reconciliation_price is null");
            return (Criteria) this;
        }

        public Criteria andReconciliationPriceIsNotNull() {
            addCriterion("reconciliation_price is not null");
            return (Criteria) this;
        }

        public Criteria andReconciliationPriceEqualTo(BigDecimal value) {
            addCriterion("reconciliation_price =", value, "reconciliationPrice");
            return (Criteria) this;
        }

        public Criteria andReconciliationPriceNotEqualTo(BigDecimal value) {
            addCriterion("reconciliation_price <>", value, "reconciliationPrice");
            return (Criteria) this;
        }

        public Criteria andReconciliationPriceGreaterThan(BigDecimal value) {
            addCriterion("reconciliation_price >", value, "reconciliationPrice");
            return (Criteria) this;
        }

        public Criteria andReconciliationPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("reconciliation_price >=", value, "reconciliationPrice");
            return (Criteria) this;
        }

        public Criteria andReconciliationPriceLessThan(BigDecimal value) {
            addCriterion("reconciliation_price <", value, "reconciliationPrice");
            return (Criteria) this;
        }

        public Criteria andReconciliationPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("reconciliation_price <=", value, "reconciliationPrice");
            return (Criteria) this;
        }

        public Criteria andReconciliationPriceIn(List<BigDecimal> values) {
            addCriterion("reconciliation_price in", values, "reconciliationPrice");
            return (Criteria) this;
        }

        public Criteria andReconciliationPriceNotIn(List<BigDecimal> values) {
            addCriterion("reconciliation_price not in", values, "reconciliationPrice");
            return (Criteria) this;
        }

        public Criteria andReconciliationPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reconciliation_price between", value1, value2, "reconciliationPrice");
            return (Criteria) this;
        }

        public Criteria andReconciliationPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reconciliation_price not between", value1, value2, "reconciliationPrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceIsNull() {
            addCriterion("sale_price is null");
            return (Criteria) this;
        }

        public Criteria andSalePriceIsNotNull() {
            addCriterion("sale_price is not null");
            return (Criteria) this;
        }

        public Criteria andSalePriceEqualTo(BigDecimal value) {
            addCriterion("sale_price =", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceNotEqualTo(BigDecimal value) {
            addCriterion("sale_price <>", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceGreaterThan(BigDecimal value) {
            addCriterion("sale_price >", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sale_price >=", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceLessThan(BigDecimal value) {
            addCriterion("sale_price <", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sale_price <=", value, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceIn(List<BigDecimal> values) {
            addCriterion("sale_price in", values, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceNotIn(List<BigDecimal> values) {
            addCriterion("sale_price not in", values, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sale_price between", value1, value2, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSalePriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sale_price not between", value1, value2, "salePrice");
            return (Criteria) this;
        }

        public Criteria andSaleAmountIsNull() {
            addCriterion("sale_amount is null");
            return (Criteria) this;
        }

        public Criteria andSaleAmountIsNotNull() {
            addCriterion("sale_amount is not null");
            return (Criteria) this;
        }

        public Criteria andSaleAmountEqualTo(Long value) {
            addCriterion("sale_amount =", value, "saleAmount");
            return (Criteria) this;
        }

        public Criteria andSaleAmountNotEqualTo(Long value) {
            addCriterion("sale_amount <>", value, "saleAmount");
            return (Criteria) this;
        }

        public Criteria andSaleAmountGreaterThan(Long value) {
            addCriterion("sale_amount >", value, "saleAmount");
            return (Criteria) this;
        }

        public Criteria andSaleAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("sale_amount >=", value, "saleAmount");
            return (Criteria) this;
        }

        public Criteria andSaleAmountLessThan(Long value) {
            addCriterion("sale_amount <", value, "saleAmount");
            return (Criteria) this;
        }

        public Criteria andSaleAmountLessThanOrEqualTo(Long value) {
            addCriterion("sale_amount <=", value, "saleAmount");
            return (Criteria) this;
        }

        public Criteria andSaleAmountIn(List<Long> values) {
            addCriterion("sale_amount in", values, "saleAmount");
            return (Criteria) this;
        }

        public Criteria andSaleAmountNotIn(List<Long> values) {
            addCriterion("sale_amount not in", values, "saleAmount");
            return (Criteria) this;
        }

        public Criteria andSaleAmountBetween(Long value1, Long value2) {
            addCriterion("sale_amount between", value1, value2, "saleAmount");
            return (Criteria) this;
        }

        public Criteria andSaleAmountNotBetween(Long value1, Long value2) {
            addCriterion("sale_amount not between", value1, value2, "saleAmount");
            return (Criteria) this;
        }

        public Criteria andReturnPriceIsNull() {
            addCriterion("return_price is null");
            return (Criteria) this;
        }

        public Criteria andReturnPriceIsNotNull() {
            addCriterion("return_price is not null");
            return (Criteria) this;
        }

        public Criteria andReturnPriceEqualTo(BigDecimal value) {
            addCriterion("return_price =", value, "returnPrice");
            return (Criteria) this;
        }

        public Criteria andReturnPriceNotEqualTo(BigDecimal value) {
            addCriterion("return_price <>", value, "returnPrice");
            return (Criteria) this;
        }

        public Criteria andReturnPriceGreaterThan(BigDecimal value) {
            addCriterion("return_price >", value, "returnPrice");
            return (Criteria) this;
        }

        public Criteria andReturnPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("return_price >=", value, "returnPrice");
            return (Criteria) this;
        }

        public Criteria andReturnPriceLessThan(BigDecimal value) {
            addCriterion("return_price <", value, "returnPrice");
            return (Criteria) this;
        }

        public Criteria andReturnPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("return_price <=", value, "returnPrice");
            return (Criteria) this;
        }

        public Criteria andReturnPriceIn(List<BigDecimal> values) {
            addCriterion("return_price in", values, "returnPrice");
            return (Criteria) this;
        }

        public Criteria andReturnPriceNotIn(List<BigDecimal> values) {
            addCriterion("return_price not in", values, "returnPrice");
            return (Criteria) this;
        }

        public Criteria andReturnPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("return_price between", value1, value2, "returnPrice");
            return (Criteria) this;
        }

        public Criteria andReturnPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("return_price not between", value1, value2, "returnPrice");
            return (Criteria) this;
        }

        public Criteria andReturnAmountIsNull() {
            addCriterion("return_amount is null");
            return (Criteria) this;
        }

        public Criteria andReturnAmountIsNotNull() {
            addCriterion("return_amount is not null");
            return (Criteria) this;
        }

        public Criteria andReturnAmountEqualTo(Long value) {
            addCriterion("return_amount =", value, "returnAmount");
            return (Criteria) this;
        }

        public Criteria andReturnAmountNotEqualTo(Long value) {
            addCriterion("return_amount <>", value, "returnAmount");
            return (Criteria) this;
        }

        public Criteria andReturnAmountGreaterThan(Long value) {
            addCriterion("return_amount >", value, "returnAmount");
            return (Criteria) this;
        }

        public Criteria andReturnAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("return_amount >=", value, "returnAmount");
            return (Criteria) this;
        }

        public Criteria andReturnAmountLessThan(Long value) {
            addCriterion("return_amount <", value, "returnAmount");
            return (Criteria) this;
        }

        public Criteria andReturnAmountLessThanOrEqualTo(Long value) {
            addCriterion("return_amount <=", value, "returnAmount");
            return (Criteria) this;
        }

        public Criteria andReturnAmountIn(List<Long> values) {
            addCriterion("return_amount in", values, "returnAmount");
            return (Criteria) this;
        }

        public Criteria andReturnAmountNotIn(List<Long> values) {
            addCriterion("return_amount not in", values, "returnAmount");
            return (Criteria) this;
        }

        public Criteria andReturnAmountBetween(Long value1, Long value2) {
            addCriterion("return_amount between", value1, value2, "returnAmount");
            return (Criteria) this;
        }

        public Criteria andReturnAmountNotBetween(Long value1, Long value2) {
            addCriterion("return_amount not between", value1, value2, "returnAmount");
            return (Criteria) this;
        }

        public Criteria andStartDateIsNull() {
            addCriterion("start_date is null");
            return (Criteria) this;
        }

        public Criteria andStartDateIsNotNull() {
            addCriterion("start_date is not null");
            return (Criteria) this;
        }

        public Criteria andStartDateEqualTo(Date value) {
            addCriterionForJDBCDate("start_date =", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("start_date <>", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateGreaterThan(Date value) {
            addCriterionForJDBCDate("start_date >", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("start_date >=", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateLessThan(Date value) {
            addCriterionForJDBCDate("start_date <", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("start_date <=", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateIn(List<Date> values) {
            addCriterionForJDBCDate("start_date in", values, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("start_date not in", values, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("start_date between", value1, value2, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("start_date not between", value1, value2, "startDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNull() {
            addCriterion("end_date is null");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNotNull() {
            addCriterion("end_date is not null");
            return (Criteria) this;
        }

        public Criteria andEndDateEqualTo(Date value) {
            addCriterionForJDBCDate("end_date =", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("end_date <>", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThan(Date value) {
            addCriterionForJDBCDate("end_date >", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("end_date >=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThan(Date value) {
            addCriterionForJDBCDate("end_date <", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("end_date <=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIn(List<Date> values) {
            addCriterionForJDBCDate("end_date in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("end_date not in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("end_date between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("end_date not between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusIsNull() {
            addCriterion("reconciliation_status is null");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusIsNotNull() {
            addCriterion("reconciliation_status is not null");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusEqualTo(String value) {
            addCriterion("reconciliation_status =", value, "reconciliationStatus");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusNotEqualTo(String value) {
            addCriterion("reconciliation_status <>", value, "reconciliationStatus");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusGreaterThan(String value) {
            addCriterion("reconciliation_status >", value, "reconciliationStatus");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusGreaterThanOrEqualTo(String value) {
            addCriterion("reconciliation_status >=", value, "reconciliationStatus");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusLessThan(String value) {
            addCriterion("reconciliation_status <", value, "reconciliationStatus");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusLessThanOrEqualTo(String value) {
            addCriterion("reconciliation_status <=", value, "reconciliationStatus");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusLike(String value) {
            addCriterion("reconciliation_status like", value, "reconciliationStatus");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusNotLike(String value) {
            addCriterion("reconciliation_status not like", value, "reconciliationStatus");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusIn(List<String> values) {
            addCriterion("reconciliation_status in", values, "reconciliationStatus");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusNotIn(List<String> values) {
            addCriterion("reconciliation_status not in", values, "reconciliationStatus");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusBetween(String value1, String value2) {
            addCriterion("reconciliation_status between", value1, value2, "reconciliationStatus");
            return (Criteria) this;
        }

        public Criteria andReconciliationStatusNotBetween(String value1, String value2) {
            addCriterion("reconciliation_status not between", value1, value2, "reconciliationStatus");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andReconciliationByIsNull() {
            addCriterion("reconciliation_by is null");
            return (Criteria) this;
        }

        public Criteria andReconciliationByIsNotNull() {
            addCriterion("reconciliation_by is not null");
            return (Criteria) this;
        }

        public Criteria andReconciliationByEqualTo(String value) {
            addCriterion("reconciliation_by =", value, "reconciliationBy");
            return (Criteria) this;
        }

        public Criteria andReconciliationByNotEqualTo(String value) {
            addCriterion("reconciliation_by <>", value, "reconciliationBy");
            return (Criteria) this;
        }

        public Criteria andReconciliationByGreaterThan(String value) {
            addCriterion("reconciliation_by >", value, "reconciliationBy");
            return (Criteria) this;
        }

        public Criteria andReconciliationByGreaterThanOrEqualTo(String value) {
            addCriterion("reconciliation_by >=", value, "reconciliationBy");
            return (Criteria) this;
        }

        public Criteria andReconciliationByLessThan(String value) {
            addCriterion("reconciliation_by <", value, "reconciliationBy");
            return (Criteria) this;
        }

        public Criteria andReconciliationByLessThanOrEqualTo(String value) {
            addCriterion("reconciliation_by <=", value, "reconciliationBy");
            return (Criteria) this;
        }

        public Criteria andReconciliationByLike(String value) {
            addCriterion("reconciliation_by like", value, "reconciliationBy");
            return (Criteria) this;
        }

        public Criteria andReconciliationByNotLike(String value) {
            addCriterion("reconciliation_by not like", value, "reconciliationBy");
            return (Criteria) this;
        }

        public Criteria andReconciliationByIn(List<String> values) {
            addCriterion("reconciliation_by in", values, "reconciliationBy");
            return (Criteria) this;
        }

        public Criteria andReconciliationByNotIn(List<String> values) {
            addCriterion("reconciliation_by not in", values, "reconciliationBy");
            return (Criteria) this;
        }

        public Criteria andReconciliationByBetween(String value1, String value2) {
            addCriterion("reconciliation_by between", value1, value2, "reconciliationBy");
            return (Criteria) this;
        }

        public Criteria andReconciliationByNotBetween(String value1, String value2) {
            addCriterion("reconciliation_by not between", value1, value2, "reconciliationBy");
            return (Criteria) this;
        }

        public Criteria andReconciliationTimeIsNull() {
            addCriterion("reconciliation_time is null");
            return (Criteria) this;
        }

        public Criteria andReconciliationTimeIsNotNull() {
            addCriterion("reconciliation_time is not null");
            return (Criteria) this;
        }

        public Criteria andReconciliationTimeEqualTo(Date value) {
            addCriterion("reconciliation_time =", value, "reconciliationTime");
            return (Criteria) this;
        }

        public Criteria andReconciliationTimeNotEqualTo(Date value) {
            addCriterion("reconciliation_time <>", value, "reconciliationTime");
            return (Criteria) this;
        }

        public Criteria andReconciliationTimeGreaterThan(Date value) {
            addCriterion("reconciliation_time >", value, "reconciliationTime");
            return (Criteria) this;
        }

        public Criteria andReconciliationTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("reconciliation_time >=", value, "reconciliationTime");
            return (Criteria) this;
        }

        public Criteria andReconciliationTimeLessThan(Date value) {
            addCriterion("reconciliation_time <", value, "reconciliationTime");
            return (Criteria) this;
        }

        public Criteria andReconciliationTimeLessThanOrEqualTo(Date value) {
            addCriterion("reconciliation_time <=", value, "reconciliationTime");
            return (Criteria) this;
        }

        public Criteria andReconciliationTimeIn(List<Date> values) {
            addCriterion("reconciliation_time in", values, "reconciliationTime");
            return (Criteria) this;
        }

        public Criteria andReconciliationTimeNotIn(List<Date> values) {
            addCriterion("reconciliation_time not in", values, "reconciliationTime");
            return (Criteria) this;
        }

        public Criteria andReconciliationTimeBetween(Date value1, Date value2) {
            addCriterion("reconciliation_time between", value1, value2, "reconciliationTime");
            return (Criteria) this;
        }

        public Criteria andReconciliationTimeNotBetween(Date value1, Date value2) {
            addCriterion("reconciliation_time not between", value1, value2, "reconciliationTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}